[INFO] cloning repository https://github.com/yykkxk/ncurses-rust-games
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yykkxk/ncurses-rust-games" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyykkxk%2Fncurses-rust-games", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyykkxk%2Fncurses-rust-games'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8a84eaf918f86e8f2e3976171642589a73a7b46e
[INFO] testing yykkxk/ncurses-rust-games against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyykkxk%2Fncurses-rust-games" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yykkxk/ncurses-rust-games on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yykkxk/ncurses-rust-games
[INFO] finished tweaking git repo https://github.com/yykkxk/ncurses-rust-games
[INFO] tweaked toml for git repo https://github.com/yykkxk/ncurses-rust-games written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/yykkxk/ncurses-rust-games already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ncurses v5.101.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e62fee71464d2444aada35f398eb87b52a42b09cf216770dc3f98b04f42e814
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0e62fee71464d2444aada35f398eb87b52a42b09cf216770dc3f98b04f42e814", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e62fee71464d2444aada35f398eb87b52a42b09cf216770dc3f98b04f42e814", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e62fee71464d2444aada35f398eb87b52a42b09cf216770dc3f98b04f42e814", kill_on_drop: false }`
[INFO] [stdout] 0e62fee71464d2444aada35f398eb87b52a42b09cf216770dc3f98b04f42e814
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 302cc57b5925dde684a08bc9344c2d6950efa5fa474db1b2f7ef45799a6e895c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "302cc57b5925dde684a08bc9344c2d6950efa5fa474db1b2f7ef45799a6e895c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling ncurses v5.101.0
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling mygames v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/ncurses_space_invaders.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     keypad(stdscr, true);
[INFO] [stdout]    |            ^^^^^^ expected *-ptr, found fn item
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut i8`
[INFO] [stdout]                   found fn item `fn() -> *mut i8 {ncurses::stdscr}`
[INFO] [stdout] help: use parentheses to call this function
[INFO] [stdout]    |
[INFO] [stdout] 13 |     keypad(stdscr(), true);
[INFO] [stdout]    |                  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/ncurses_space_invaders.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     getmaxyx(stdscr, &mut max_y, &mut max_x);
[INFO] [stdout]    |              ^^^^^^ expected *-ptr, found fn item
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut i8`
[INFO] [stdout]                   found fn item `fn() -> *mut i8 {ncurses::stdscr}`
[INFO] [stdout] help: use parentheses to call this function
[INFO] [stdout]    |
[INFO] [stdout] 19 |     getmaxyx(stdscr(), &mut max_y, &mut max_x);
[INFO] [stdout]    |                    ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/ncurses_space_invaders.rs:65:23
[INFO] [stdout]    |
[INFO] [stdout] 65 |     mvaddch(p.1, p.0, ch as u64);
[INFO] [stdout]    |                       ^^^^^^^^^ expected `u32`, found `u64`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 65 |     mvaddch(p.1, p.0, (ch as u64).try_into().unwrap());
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> src/space_invaders.rs:62:40
[INFO] [stdout]     |
[INFO] [stdout] 62  |         let index = rand::thread_rng().gen_range(0, self.body.len());
[INFO] [stdout]     |                                        ^^^^^^^^^ -  --------------- supplied 2 arguments
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        expected 1 argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 |     fn gen_range<T, R>(&mut self, range: R) -> T
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> src/space_invaders.rs:104:37
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let ra = rand::thread_rng().gen_range(1, 4);
[INFO] [stdout]     |                                     ^^^^^^^^^ -  - supplied 2 arguments
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     expected 1 argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 |     fn gen_range<T, R>(&mut self, range: R) -> T
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mygames`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "302cc57b5925dde684a08bc9344c2d6950efa5fa474db1b2f7ef45799a6e895c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "302cc57b5925dde684a08bc9344c2d6950efa5fa474db1b2f7ef45799a6e895c", kill_on_drop: false }`
[INFO] [stdout] 302cc57b5925dde684a08bc9344c2d6950efa5fa474db1b2f7ef45799a6e895c
